<h3>Notícias</h3>

<ul id="news">
<?php 
foreach($this->newsList as $val)
{
?>
	<li>
		<div class="date">
			<span><?php echo date("M", strtotime($val->date));//echo $this->escape($this->dateBr($val->date));?></span>
			<?php echo  date("d", strtotime($val->date)); ?>
		</div>
		<div class="title"><h2><a href="/news/index/show/id/<?php echo $val->cd_news ?>" ><?php echo $this->escape($val->title)?></a></h2></div>
		<div class="entry">
			<p><?php echo $this->syntax($val->description)?></p>
		</div>
	</li>
<?php
}
?>
</ul>

<script>
$("#news a").click(function(){
	loadContent($(this).attr('href'));
	return false;
});
</script>
